package com.io.netty.protocoltcp;


//使用一个类来封装协议包，java中存储数据的两种方式，通过变量（常量）或者是对象来存储
public class MessageProtocol {
    private int len; //关键
    private byte[] content;

    public int getLen() {
        return len;
    }

    public void setLen(int len) {
        this.len = len;
    }

    public byte[] getContent() {
        return content;
    }

    public void setContent(byte[] content) {
        this.content = content;
    }
}
